setGlobalDuration(9)

scl = [60, 62, 64, 65, 67, 69, 71, 72]
env = genAdsr()

for i in range(len(scl)):
    sine(pitch=midiToHertz(scl[i]), starttime = i, duration = 1, envelope = env)

startCsound()